package com.utils.monitor;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author: wsl
 * @date: 2024/2/29 0029 22:10
 * @ClassName: DingMsgEnum
 */
public enum DingMsgEnum {
    ORDER_PAY("ORDER_PAY","订单支付监控","https://oapi.dingtalk.com/robot/send?access_token=515cfca6c1d2bb556da19f3be32a14458ceaaa1f4aedf9d14be8a01fc3307f7d","订单支付"),
    WZ_WAREHOUSE("WZ_WAREHOUSE","保税仓推送监控","https://oapi.dingtalk.com/robot/send?access_token=7e2d0d36778ca134be491ac33cf6c1f254e45116a2dd9cb6c91cb71982a7af3f","温州保税仓"),
    PLAT("PLAT","三方平台监控","https://oapi.dingtalk.com/robot/send?access_token=c54b3883b6b7948e5f90a2922fc9c311346254ea134e7c371a3edb60a097f75e","三方平台"),
    SYSTEM("SYSTEM","系统监控","https://oapi.dingtalk.com/robot/send?access_token=4f30e3bc38322691bdaef02be2655018b64b504458454d653711470d259a298a","系统监控"),
    OTHER("OTHER","普通监控","https://oapi.dingtalk.com/robot/send?access_token=35da819373150ee99a4921e3753d18ef42a1fc48454a6d31786f975724495d3c","其他")
    ;

    private String key;

    private String keywords;

    private String msgUrl;

    private String desc;

    DingMsgEnum(String key, String keywords, String msgUrl, String desc) {
        this.key = key;
        this.keywords = keywords;
        this.msgUrl = msgUrl;
        this.desc = desc;
    }

    public String getKey() {
        return key;
    }

    public String getKeywords() {
        return keywords;
    }

    public String getMsgUrl() {
        return msgUrl;
    }

    public String getDesc() {
        return desc;
    }
}
